﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Limpio.Master" Inherits="System.Web.Mvc.ViewPage<FONCREAGROINTEGRAL.Models.PERIODOLABORAL>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Finalizar
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% using (Html.BeginForm("Finalizar", "periodolaboral", FormMethod.Post, new { id = "periodolaboral" }))
       {%>
        <%: Html.ValidationSummary(true) %>

            <div class="divLC">
            <div class="divLabel">
                Fecha Fin
            </div>
            <div class="divcampo2" id="divFechaFin">
                <%--<%: Html.TextBoxFor(model => model.FechaFin)%>--%>
                <%: Html.ValidationMessageFor(model => model.FechaFin)%>
            </div>
            </div>       

            <div class="divLC">
            <div class="divLabel">
                Motivo Fin Periodo
            </div>
            <div class="divcampo2">
                <%: Html.DropDownList("IdMotivoFinDePeriodo") %>
                <%: Html.ValidationMessageFor(model => model.IdMotivoFinDePeriodo) %>
            </div>
            </div>
            
            <hr />
            <p>
                <input type="submit" value="Guardar" id ="bsubmit" />
            </p> 

    <% } %>

</asp:Content>

